﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Menu.ascx.cs" Inherits="Controls_Menu" %>
<div class="menu_chinh">
    <ul>
    	<li><a href="/" class="act" style="height:39px;"><img src="/resources/images/home.png" border="0" style=" margin-top: 8px;"/></a></li>
        <li><a href="/news/doi-song/39-0/index.html" id="cate_39">ĐỜI SỐNG</a></li>
        <li><a href="/news/van-hoa/40-0/index.html" id="cate_40">VĂN HÓA</a></li>
        <li><a href="/news/gioi-tre/41-0/index.html" id="cate_41">GIỚI TRẺ</a></li>
        <li><a href="/news/the-thao/42-0/index.html" id="cate_42">THỂ THAO</a></li>
        <li><a href="/news/hoc-duong/43-0/index.html" id="cate_43">HỌC ĐƯỜNG</a></li>
        <li><a href="/news/chuyen-nghe/44-0/index.html" id="cate_44">CHUYỆN NGHỀ</a></li>
        <li><a href="/news/nghien-cuu-trao-doi/45-0/index.html" id="cate_45">NGHIÊN CỨU</a></li>
        <li><a href="/slide.html" id="cate_1001">MEDIA</a></li>
        <li><a href="/news/gioi-thieu/gioi-thieu-ve-hoc-vien-bao-chi-va-tuyen-truyen-55-3557.html" id="cate_1003">GIỚI THIỆU</a></li>
        <li><a href="/contact.html" id="cate_1002">LIÊN HỆ</a></li>
    </ul>
</div>
<!--menu_chinh-->
<div class="menu_duoi1" style="display:none;">
    <ul style="margin-left:300px; display:none;" id="cate_43s">
    	<li><a href="/news/hoc-duong/guong-sang-hoc-duong/56-0/index.html">Gương sáng học đường</a></li>
        <li>|</li>
        <li><a href="/news/hoc-duong/hoat-dong-truong/54-0/index.html">Hoạt động nhà trường</a></li>
    </ul>
    <ul style="margin-left:470px; display:none;" id="cate_45s">
    	<li><a href="/news/nghien-cuu-trao-doi/tu-sach/58-0/index.html">Tủ sách</a></li>
        <li>|</li>
        <li><a href="/news/nghien-cuu-trao-doi/bai-nghien-cuu/59-0/index.html">Bài nghiên cứu</a></li>
        <li>|</li>
        <li><a href="/news/nghien-cuu-trao-doi/thong-tin-khoa-hoc/60-0/index.html">Thông tin khoa học</a></li>
    </ul>
    <ul style="margin-left:620px; display:none;" id="cate_1001s">
    	<li><a href="/slide.html">Tin ảnh</a></li>
        <li>|</li>
        <li><a href="/news/video/47-0/index.html">Video</a></li>
        <li>|</li>
        <li><a href="/news/phat-thanh-song-tre/53-0/index.html">Radio</a></li>
    </ul>
    <ul style="margin-left:670px; display:none;" id="cate_1003s">
    	<li><a href="/news/gioi-thieu/gioi-thieu-ve-hoc-vien-bao-chi-va-tuyen-truyen-55-3557.html">Khoa phát thanh - Truyền hình</a></li>
        <li>|</li>
        <li><a href="#">Sóng trẻ</a></li>
    </ul>
</div>
<div class="menu_duoi">
    <div class="search"><asp:TextBox ID="txtSearch" runat="server"></asp:TextBox><button onclick="javascript:searchText(); return false;">&nbsp;</button></div>
    <asp:Label ID="lblDate" runat="server" Text=""></asp:Label>
</div>

<!--menu_duoi-->
<div class="clear">
</div>
<script language="javascript" type="text/javascript">
    $(document).ready(function () {
        $(".menu_chinh>ul>li>a").removeClass();
        $("#cate_<%=cateID %>").addClass("act");
        if (<%=cateID %> == "43") {
            $('.menu_duoi1').show();
            $('#cate_43s').show();
        }
        if (<%=cateID %> == "45") {
            $('.menu_duoi1').show();
            $('#cate_45s').show();
        }
        if (<%=cateID %> == "1003") {
            $('.menu_duoi1').show();
            $('#cate_1003s').show();
        }
        if (<%=cateID %> == "1001") {
            $('.menu_duoi1').show();
            $('#cate_1001s').show();
        }
    });
    function searchText() {
        window.location.href = '/search.html?q=' + $('#MenuControl_txtSearch').val();
    }
</script><ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server" TargetControlID="txtSearch" WatermarkText="Tìm kiếm" />